package com.googlecode.mvcguice.module;

import com.google.inject.AbstractModule;
import com.googlecode.mvcguice.annotation.ApplicationUrl;
import com.googlecode.mvcguice.routing.RoutesModule;

public abstract class ConfigModule extends AbstractModule {
	public final void setApplicationUrl(String url) {
		bindConstant().annotatedWith(ApplicationUrl.class).to(url);
	}

	public final void setRoutes(RoutesModule routes) {
		install(routes);
	}
}
